# custom_function_registration.py
from crewplus.custom.custom_function_registry import custom_function_registry

def register_custom_functions():
    # Register inline custom function

    custom_function_registry.register(
        action_id='after_add_graph_document',
        action_name='Update Node IDs Inline',
        function_type='inline',
        function_reference='crewplus.custom.functions.update_node_ids',
        action_description='Updates node IDs for relationships with HASDETAIL_ prefix inline'
        #condition='schema_name == "hazard"'
    )